package cn.cvs.dao;

import cn.cvs.entity.Fruit;

import java.util.List;

public interface FruitMapper {

    List<Fruit> list();

    Fruit selectById(int id);

    int delete(int id);

    int add(Fruit fruit);

    Fruit selectByType(String type);
}
